<script src="./js/lib/$require.js"></script>
<script>
$r.preload([
    './data/monkey.jpg'
]);
$r.ready(function() {
    var displaySurface = gamejs.display.setMode(800, 600);
    var monkeyImage = gamejs.image.load('/data/monkey.jpg');
    displaySurface.blit(monkeyImage, [20, 20], [50, 50]);
});
</script>
